package com.crane.oss.school.bean.resp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 学校校区表
 *
 * @author zhenxing.pi
 * @email ccsu123456@qq.com
 * @date 2022年03月26日 14时24分54秒
 */

@Getter
@Setter
@ToString
public class TaskResp implements Serializable {

    protected Long taskId;

    @ApiModelProperty(value = "任务名称", name = "title")
    protected String title;
    @ApiModelProperty(value = "任务描述", name = "describe")
    protected String describes;
    @ApiModelProperty(value = "班级iD", name = "classId")
    protected Long classId;
    @ApiModelProperty(value = "班级全称", name = "classAllName")
    protected String classAllName;
    @ApiModelProperty(value = "任务类型 1跳绳", name = "type")
    protected Integer type;
    @ApiModelProperty(value = "任务子类型 11 1分钟跳绳 12 2分钟到 13 3分钟", name = "subType")
    protected Integer subType;
    @ApiModelProperty(value = "开始时间", name = "startTime")
    protected Date startTime;
    @ApiModelProperty(value = "结束时间", name = "endTime")
    protected Date endTime;
    @ApiModelProperty(value = "状态 0 未开始 1进行中  2完成  3删除", name = "state")
    protected Integer state;
    @ApiModelProperty(value = "规则 type 1 只补发一次  2 周内循环  3 自定义循环 {type : 1,week:[1,2,3,4,5,6]}", name = "ruleJson")
    protected String ruleJson;
    /**
     * 是否能补卡 0 否  1是
     */
    @ApiModelProperty(value = "是否能补卡", name = "afterClock")
    protected Integer afterClock;

    protected Date createTime;

    protected Long createUserId;

    protected String createUserName;

    protected List<String> images;
}
